<div class="user-center-head"><?php echo L('my_point');?></div>
<div class="clearfix mt1x"><?php echo L('your_current_point');?>: <strong style="color:#eb6f00;"><?php echo $user['pay_points']?></strong></div>
<table class="table-list">
  <tbody>
    <tr>
      <th width="15%"><?php echo L('date');?></th>
      <th width="15%"><?php echo L('get_point');?></th>
      <th width="15%"><?php echo L('reduce_point');?></th>
      <th width="55%"><?php echo L('reason');?></th>
    </tr>
    <?php 
  if(isset($accountList) && $accountList):
  	foreach ($accountList as $account) :
  ?>
    <tr>
      <td><?php echo date('Y-m-d H:i',$account['change_time']);?></td>
      <td><?php echo $account['pay_points']>0 ? $account['pay_points'] : 0;?></td>
      <td><?php echo $account['pay_points']<0 ? $account['pay_points'] : 0;?></td>
      <td align="left"><?php echo $account['change_desc'];?></td>
    </tr>
    <?php endforeach;
			else:
    ?>
    <tr>
      <td colspan="4" class="no-record"><?php echo L('norecords')?></td>
    </tr>
    <?php endif;?>
  </tbody>
</table>
<div class="page"><?php echo $pageShow; ?></div>
